(function() {
    jsx3.lang.Package.definePackage("ux.cdb.admin", function(util) {
    });

    ux.cdb.admin.Log = jsx3.util.Logger.getLogger("ux.cdb.admin.Log");

    ux.cdb.admin.Log.info('CDB Admin Addin loading....');
	

	
   // todo: Remove _setSystemLocale once this GI bug is fixed.
   /**
     * Internal function. Due to a bug in GI 3.5 the property bundles in addin will not load.
     * This function quarantines that the property bundle addins\cdbadmin\jss\string.xml
     * is loaded properly.
     * @private
     * @jsxobf-clobber
     */
    _setSystemLocale = function() {
        var pb = jsx3.app.PropsBundle.getProps(ux.cdb.admin.ADDIN.resolveURI("jss/cdbLocale.xml"), null, jsx3.getSystemCache());
        jsx3.System.LJSS.addParent(pb);
    }

    _setSystemLocale();

    //preload custom properties and events files for IDE Enviorment
    if (jsx3.IDE) {
      jsx3.ide.loadTemplateCatalog("prop", "properties/catalog.xml", ux.cdb.admin.ADDIN);
      jsx3.ide.loadTemplateCatalog("event", "modelevents/catalog.xml", ux.cdb.admin.ADDIN);
    }

})();
